package ex01_commonsClass.class01_object;

import lombok.Data;

/**
 * @author 寒江醉月
 * @description: TODO
 * @date 2021/4/5 19:41
 */
@Data
class Student implements Cloneable{
    private Integer id;
    private String name;
    private Teacher teacher;

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    protected Object clone(int a) throws CloneNotSupportedException {
        return super.clone();
    }
}
